/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.excel;

public class XlParameterDataType {
	private final int value;

	/** xlParamTypeUnknown **/
	public static final XlParameterDataType Unknown = new XlParameterDataType(0);
	/** xlParamTypeChar **/
	public static final XlParameterDataType Char = new XlParameterDataType(1);
	/** xlParamTypeNumeric **/
	public static final XlParameterDataType Numeric = new XlParameterDataType(2);
	/** xlParamTypeDecimal **/
	public static final XlParameterDataType Decimal = new XlParameterDataType(3);
	/** xlParamTypeInteger **/
	public static final XlParameterDataType Integer = new XlParameterDataType(4);
	/** xlParamTypeSmallInt **/
	public static final XlParameterDataType SmallInt = new XlParameterDataType(5);
	/** xlParamTypeFloat **/
	public static final XlParameterDataType Float = new XlParameterDataType(6);
	/** xlParamTypeReal **/
	public static final XlParameterDataType Real = new XlParameterDataType(7);
	/** xlParamTypeDouble **/
	public static final XlParameterDataType Double = new XlParameterDataType(8);
	/** xlParamTypeVarChar **/
	public static final XlParameterDataType VarChar = new XlParameterDataType(12);
	/** xlParamTypeDate **/
	public static final XlParameterDataType Date = new XlParameterDataType(9);
	/** xlParamTypeTime **/
	public static final XlParameterDataType Time = new XlParameterDataType(10);
	/** xlParamTypeTimestamp **/
	public static final XlParameterDataType Timestamp = new XlParameterDataType(11);
	/** xlParamTypeLongVarChar **/
	public static final XlParameterDataType LongVarChar = new XlParameterDataType(-1);
	/** xlParamTypeBinary **/
	public static final XlParameterDataType Binary = new XlParameterDataType(-2);
	/** xlParamTypeVarBinary **/
	public static final XlParameterDataType VarBinary = new XlParameterDataType(-3);
	/** xlParamTypeLongVarBinary **/
	public static final XlParameterDataType LongVarBinary = new XlParameterDataType(-4);
	/** xlParamTypeBigInt **/
	public static final XlParameterDataType BigInt = new XlParameterDataType(-5);
	/** xlParamTypeTinyInt **/
	public static final XlParameterDataType TinyInt = new XlParameterDataType(-6);
	/** xlParamTypeBit **/
	public static final XlParameterDataType Bit = new XlParameterDataType(-7);
	/** xlParamTypeWChar **/
	public static final XlParameterDataType WChar = new XlParameterDataType(-8);


	private XlParameterDataType(int value) { this.value = value; }
	public int getValue() { return this.value; }
	public static XlParameterDataType valueOf(int value) { return new XlParameterDataType(value); }
	public boolean equals(Object o) {
		if(o == null || o.getClass() != XlParameterDataType.class) return false;
		return ((XlParameterDataType)o).value == value;
	}
	public int hashCode() { return value; }
}
